<%@page import="com.fiap.seguranca.bean.Usuario"%>
<link type="text/css" href="css/cupertino/jquery-ui-1.8.4.custom.css" rel="stylesheet" />

	<div id="areaMensagem">

<%
	String login = request.getUserPrincipal().getName();
		
		if(login != null)
		
		{
			out.print("<br />&nbsp;<span class=\"bemVindo\">Seja bem-vindo (a), <strong>" + login + "</strong></span><br>");	
		}
		
		else
		
		{
			response.sendRedirect("Login");
		}
%>
	</div>	

	<div id="areaSair">
		<button id="btSair" class="ui-state-default ui-corner-all" title="Logoff" onclick="window.self.location='http://localhost:8080/jaasWeb/Logout'; return false;" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-refresh"></span>Sair</button>
	</div> 